<?php while (have_posts()) : the_post(); ?>
	
	<div class="post" id="<?php the_ID() ?>">
		<div class="row">
			<div class="eightcol last">
				<h1><?php the_title() ?></h1>
				<h2 id="credit"><?php display_credit() ?></h2>
			</div>
		</div>
		<div class="row">
			<div class="eightcol">
				<div id="content">
					<?php the_content() ?>
				</div>				
				<div id="comments">
					<?php comments_template() ?>
				</div>
			</div>
			<div class="fourcol last" id="sidebar">
				<?php
					$show_info = get_show_info(get_the_title());
				?>
				<div id="touring_info">
					<?php
						// render all the artists for the show
						foreach($show_info['artists'] as $artist) {
							$artist = new artist($artist);
							$artist->render_tour();
						}
					?>
				</div>
				<div id="venue_info">
					<?php
						$venue = new venue($show_info['venue']);
						$venue->render();
					?>
				</div>
			</div>
		</div>
	</div>
	
<?php endwhile; ?>